package com.excel.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.util.List;

/**
 * @ClassName BaseExcelData
 * @description: 导入数据
 **/
@Data
public class BaseExcelData {

    @Excel(name = "导入结果(Import Result)")
    @ExcelProperty(value = "导入结果((Import Result))", order = 0)
    private String result;

//    protected void addErrorIfBlank(String value, ErrorCode errorCode, List<String> errors) {
//        if (StringUtils.isBlank(value)) {
//            errors.add(CustomErrorCodes.errorMessage(errorCode));
//        }
//    }

}